import { createApp } from "vue";
import { createRouter , createWebHashHistory } from "vue-router";
import App from "./App.vue";
import About from "./components/About.vue";
import Home from "./components/Home.vue"
const routes = [
    {path:'/',redirect:'/home'},
    {path:'/home',component:Home},
    {path:'/about',component:About}
]
const router = createRouter({
    history:createWebHashHistory(),
    routes
})
createApp(App).use(router).mount("#app")